import React        from 'react';
import { Link }     from 'react-router-dom';
import './header.scss'
class Header extends React.Component{
constructor(props){
    super(props);
}

render(){
    return(
        <header> 
        <h1 className="title l">{this.props.title}</h1>
        <i className="iconfont icon-back max z-in cell-left clickbetter" onClick={this.props.goBack}></i>
        <div className="underline"></div>
    </header>
    )
}
}
export default Header;